package entity

import (
	"shqsoft.cn/pasnj/base"
)

//TIndiClie 用户
type VMinDivi struct {
	ID        int     `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	ACID      int     `gorm:"column:ACID"`
	EMID      int     `gorm:"column:EMID"`
	NAME      string  `gorm:"column:SysUserName"`
	DSVL      float64 `gorm:"column:DSVL"`
	DSEM      string  `gorm:"column:DSEM"`
	OrganName string  `gorm:"column:OrganName"`
	ISWO      bool    `gorm:"column:ISWO"`
	EMNO      string  `gorm:"column:EMNO"`
}

//TableName User用户表名
func (VMinDivi) TableName() string {
	return "V_MIN_OPER_DIVI"
}

func VMinDiviEF() base.EntityFunc {
	return func() interface{} {
		entity := VMinDivi{}
		return &entity
	}
}
func VMinDiviESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []VMinDivi
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("VMinDivi", base.NewDefaultDao(VMinDiviEF(), VMinDiviESF(), nil))
}
